package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author FSD
 * @since 2024-02-05
 */
@Getter
@Setter
@TableName("tb_root")
@ApiModel(value = "Root对象", description = "用户表")
public class Root implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id主键")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("用户的邮箱")
    private String email;

    @ApiModelProperty("用户的状态 0 未删除 1 删除")
    private Integer isDelete;

    @ApiModelProperty("用户电话")
    private String phone;


}
